/* 注册页面样式 */

.container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
}

.registerCard {
  width: 100%;
  max-width: 450px;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.header {
  text-align: center;
  margin-bottom: 32px;
}

.title {
  font-size: 28px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.subtitle {
  color: #666;
  font-size: 14px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.inputField {
  width: 100%;
}

.verificationSection {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.verificationInput {
  flex: 1;
}

.verificationButton {
  height: 56px;
  min-width: 120px;
  text-transform: none;
  white-space: nowrap;
}

.verificationButton:disabled {
  background-color: #f5f5f5;
  color: #999;
}

.registerButton {
  margin-top: 16px;
  height: 48px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
}

.loginSection {
  text-align: center;
  margin-top: 24px;
}

.loginText {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px;
}

.loginButton {
  color: #667eea;
  border-color: #667eea;
  text-transform: none;
}

.loginButton:hover {
  background-color: rgba(102, 126, 234, 0.04);
  border-color: #5a6fd8;
}

.divider {
  margin: 24px 0;
  position: relative;
  text-align: center;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e0e0e0;
}

.dividerText {
  background: rgba(255, 255, 255, 0.95);
  padding: 0 16px;
  color: #666;
  font-size: 14px;
}

.errorMessage {
  margin-top: 16px;
}

.successMessage {
  margin-top: 16px;
}

.loadingWrapper {
  position: relative;
  display: inline-flex;
  width: 100%;
}

.loading {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -12px;
  margin-left: -12px;
}

.roleSelection {
  margin-bottom: 16px;
}

.roleTitle {
  margin-bottom: 12px;
  color: #333;
  font-weight: 500;
}

.roleOptions {
  display: flex;
  gap: 12px;
}

.roleOption {
  flex: 1;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
}

.roleOption:hover {
  border-color: #667eea;
  background-color: rgba(102, 126, 234, 0.04);
}

.roleOption.selected {
  border-color: #667eea;
  background-color: rgba(102, 126, 234, 0.08);
  color: #667eea;
}

.roleOptionTitle {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 14px;
}

.roleOptionDesc {
  font-size: 12px;
  color: #666;
  line-height: 1.3;
}

.roleOption.selected .roleOptionDesc {
  color: #5a6fd8;
}

.adminNotice {
  margin-top: 12px;
  padding: 12px;
  background-color: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 8px;
  font-size: 12px;
  color: #f57c00;
  line-height: 1.4;
} 